<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <%@include file="/static/common/commom.jsp"%>
    <script src="/static/js/clientDevelop.js"></script>
</head>
<body>
<table id="clientDevelop_dataGrid"></table>

<div id="tb">
    <shiro:hasPermission name="clientDevelop:saveOrUpdate">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-add',plain:true" data-cmd="add">新增计划</a>
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-edit',plain:true"  data-cmd="edit" >修改计划</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="clientDevelop:deleteRecordById">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"  data-cmd="delDevelop" >删除计划</a>
    </shiro:hasPermission>
    <shiro:hasPermission name="clientDevelop:changeResult">
        <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-remove',plain:true"  data-cmd="remark" >标记结果</a>
    </shiro:hasPermission>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-reload',plain:true" data-cmd="reload">刷新</a><br/>

    日期:
    <input id="beginDate" name="beginDate" class="easyui-datebox" style="width: 110px"> </input>
    ~
    <input id="endDate" name="endDate" class="easyui-datebox" style="width: 110px"> </input>

    模糊搜索:
    <input id="clientName" name="clientName" class="easyui-textbox" data-options="prompt:'客户'" style="width:70px">
    <input id="createEmp" name="createEmp" class="easyui-textbox" data-options="prompt:'创建人'" style="width:90px">
    <input id="project" name="project" class="easyui-textbox" data-options="prompt:'计划主题'" style="width:90px">
    实施方式:
    <input class="easyui-combobox develop_combobox" name="methodId"
           data-options="panelHeight:'auto',width:'90px',valueField:'id',textField:'name',url:'/dictionary/selectDictionaryItemBySn.do?sn=ExploitType'" />
    <a class="easyui-linkbutton" data-options="iconCls:'icon-search'" data-cmd="searchMethod">搜索</a>
</div>

<div id="btns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-save',plain:true" data-cmd="save">保存</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="cancel">取消</a>
</div>

<div id="clientBtns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="ensure">确定</a>
</div>

<div id="remarkBtns">
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-ok',plain:true" data-cmd="commit">提交</a>
    <a href="#" class="easyui-linkbutton" data-options="iconCls:'icon-cancel',plain:true" data-cmd="remarkCancel">取消</a>
</div>

<div id="clientDevelop_dialog">
    <form id="clientDevelop_form" method="post">
        <input type="hidden" name="id">
        <table align="center" style="margin-top: 15px" >
            <th colspan="3"><center>客户开发计划</center></th>
            <tr></tr>
            <tr>
                <td width="32"></td>
                <td>
                    客&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;户:
                    <input id="clientId" type="hidden" name="clientId">
                    <input name="clientName" class="easyui-textbox clientName_btn" readonly="true"/>
                </td>
                <td>
                    <a class="easyui-linkbutton" data-options="iconCls:'icon-search'"
                       data-cmd="searchClient">查询客户</a>
                </td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>计划时间:<input class="easyui-datebox" name="operateDate"/></td>
                <td>计划主题:<input class="easyui-textbox" name="project"/></td>
            </tr>
            <tr>
                <td width="32"></td>
                <td>
                    实施方式:
                    <input class="easyui-combobox" name="method.id"
                           data-options="panelHeight:'auto',valueField:'id',textField:'name',url:'/dictionary/selectDictionaryItemBySn.do?sn=ExploitType'" />
                </td>
                <td>备&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;注:<input class="easyui-textbox" name="remark"/></td>
            </tr>
            <tr>
                <td width="32"></td>
                <td colspan="2"><center>计划详情:</center></td>
            </tr>
            <tr>
                <td width="32"></td>
                <td colspan="2">
                    <center><textarea name="particular" cols="70" rows="4"></textarea></center>
                </td>
            </tr>
        </table>
    </form>
</div>
<div id="client_dialog">
    <table id="client_dataGrid"></table>
</div>

<div id="remark_dialog">
    <form id="remark_form" method="post">
        <table align="center" style="margin-top: 15px" >
            <th colspan="2"><center>跟进效果</center></th>
            <tr>
                <td width="20"></td>
                <td>跟进编号:<input id="idEcho" class="easyui-textbox" name="id" readonly="true"/></td>
            </tr>
            <tr>
                <td width="20"></td>
                <td>根基主题:<input id="projectEcho" class="easyui-textbox" name="project" readonly="true"/></td>
            </tr>
            <tr>
                <td width="20"></td>
                <td>执行效果:<input id="resultId" class="easyui-combobox" name="result"
                               data-options="{
                               data:[
                               {
                                value:'0',text:''
                               },
                               {
                                value:'1',text:'差'
                               },
                               {
                                value:'2',text:'中'
                               },
                               {
                                value:'3',text:'优'
                               }],
                    textField:'text',valueField:'value',panelHeight:'auto'}"
                /></td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>